﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LightCAD.MathLib.CSG
{
   class Ray3
    {
        public Vec3 p = new Vec3(); // point of origin
        public Vec3 r = new Vec3(); // ray direction
        public Ray3()
        {
        }
        public Ray3(Vec3 point, Vec3 dir)
        {
            this.p = new Vec3(point);
            this.r = new Vec3(dir);
        }
        public Ray3(Ray3 cp)
        {
            this.p = new Vec3(cp.p);
            this.r = new Vec3(cp.r);
        }
    }
}
